import { getData, postData } from '@/servers/http'

// 接口】创建游戏记录
export const createTrainings = (data: any) =>
    postData(`/trainings`, data, {
        headers: { 'X-Client-Type': 'pc' },
    })

// 免登接口
export const teachertLogin = (data: any) =>
    postData(`/account/teacher-login`, data, {
        headers: { 'X-Client-Type': 'pc' },
    })
